package com.symria.system.statement.mysql;

import com.symria.system.statement.Statement;
import com.symria.system.statement.StatementFactory;



public class StatementFactoryImpl implements StatementFactory {

	public Statement createNativeStatement(String sql) {
		Statement stmt = new StatementImpl(sql);
		stmt.setNativeSQL(true);
		return stmt;
	}

	public Statement createNativeStatement(String sql, String where) {
		Statement stmt = new StatementImpl(sql, where);
		stmt.setNativeSQL(true);
		return stmt;
	}

	public Statement createStatement(String sql) {
		Statement stmt = new StatementImpl(sql);
		return stmt;
	}

	public Statement createStatement(String sql, String where) {
		Statement stmt = new StatementImpl(sql, where);
		return stmt;
	}

}
